<include file="common/fileinput"/>
<include file="template:style"/>
<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Address/edit')}">
			<div class="form-group">
				<input type="hidden" name="id" value="{$data.id}">
				<include file="template:input" name="name" label="收货人姓名" value="{$data.name}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
				<include file="template:input" name="phone" label="收货人电话" value="{$data.phone}"  attr='data-rule="required;length(~20)" maxlength="20"'/>
				<include file="template:input" name="zipcode" label="邮编" value="{$data.zipcode}"  attr='data-rule="required;length(~6)" maxlength="6"'/>
				<include file="template:input" name="region" label="地区" value="{$data.region}"  attr='data-rule="required;length(~100)" maxlength="100"'/>
				<include file="template:input" name="address" label="" value="{$data.address}"  attr='data-rule="required;length(~200)" maxlength="200"'/>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>